﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class GiftOrderInfoConfig : EntityTypeConfiguration<GiftOrderInfo>
    {
        public GiftOrderInfoConfig()
        {
            ToTable("Himall_GiftsOrder");
            Property(item => item.UserRemark).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ShipTo).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.CellPhone).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.RegionFullName).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.Address).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.ExpressCompanyName).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.ShipOrderNumber).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.CloseReason).HasColumnType("varchar").HasMaxLength(200);           
        }
    }
}
